/*
 * Copyright (C) 2009  Sylvain Maucourt (smaucourt@gmail.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 *
 */
package net.sylvek.where.client;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class User implements Serializable {

    private String name;

    private String uid;

    private Date update;

    private String ip;
    
    private String hash;

    public User()
    {

    }

    public User(String name, String uid, Date update, String ip, String hash)
    {
        this.name = name;
        this.uid = uid;
        this.update = update;
        this.ip = ip;
        this.hash = hash;
    }

    public String getHash()
    {
        return hash;
    }

    public void setHash(String hash)
    {
        this.hash = hash;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setUid(String uid)
    {
        this.uid = uid;
    }

    public void setUpdate(Date update)
    {
        this.update = update;
    }

    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public String getName()
    {
        return name;
    }

    public String getUid()
    {
        return uid;
    }

    public Date getUpdate()
    {
        return update;
    }

    public String getIp()
    {
        return ip;
    }
}
